/***
**弹出窗口  选择图片的 dialog  css
**/
#selectslogan div.modal-dialog{
    width: 900px;
}
#selectVideoModal div.modal-dialog{
    width: 900px;
}
div.step-one{
    position: absolute;
    width: 100%;
    z-index: 600;
    height: 100%;
    box-shadow: 0 0 0;
}
div.step-one .modal-body{
    position: relative;
    height: 420px;
    z-index: 100;
    background-color: red;
}
div.step-one div.modal-body>ul{
    position: relative;
    width: 100%;
    height: 100%;
}

#selectVideoModal button.btn-primary{
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    right:40px;
}
#selectVideoModal button.btn-primary.show{
    opacity:1;
}
#selectslogan .modal-body,#selectVideoModal .modal-body{
    max-height: 420px;
    overflow-y: auto;
    background-color: #f7f7f7;
}

.modal-body button.btn-default{
    position: absolute;
    right: 30px;
    font-size: 14px;
    z-index: 100;

}
#selectslogan div.condition-layer{
    position: relative;
    width: 100%;
    height: 35px;
    padding: 0;
    margin-bottom: 10px;
}
.modal-body .list-group .list-group-item{
    position: relative;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    border:0;
    min-height: 35px;
    margin-bottom: 20px;
}

.list-group-item>strong{
    position: relative;
    display: inline-block;
    /* height: 100%;*/
    padding: 0;
    line-height: 35px;
    margin: 0 10px;
}
.list-group-item>select{
    height: 100%;
    margin: 0;
    width: 500px;
}
.list-group-item>select+span.select2-container{
    margin: 0;
}

li.list-group-item>div.dropdown{
    position: absolute;
    height: 100%;
    width: 20%;
    top:0;
}
.condition-layer strong.gender{
    display: inline-block;
    height: 35px;
    line-height: 35px;
    top:0;
}

ul.nav-pills{
    border:0;
}
ul.nav-pills li>a{
    color:#7e7e7e;
    min-width: 20px;
    border-radius: 0;

    cursor: default;
    height: 25px;
    padding-top:5px;
    -webkit-transition: width,color 0.2s ease-in-out;
    -o-transition: width,color 0.2s ease-in-out;
    transition: width,color 0.2s ease-in-out;
}
ul.nav-pills li>a[role]{
    border-right: 1px solid #ccc;
}
ul.nav-pills li:nth-last-child(1)>a{
    border-right:0;
}
ul.nav-pills li.active>a{
    color:black;
    background-color: transparent;
    letter-spacing: 0.5px;
}
ul.nav-pills li.active>a:hover,ul.nav-pills li>a:hover{
    background-color: transparent;
    color:black;

}
.pic-pool{
    position: relative;
    padding-top:20px;
    border-top:1px solid #ccc;
}
select.filter{
    position: absolute;
    top:0;
    min-height: 20px;
    right: 30px;
    width: 130px;
    margin: 0;
    height: 25px;
}
select.filter+span.select2{
    position: absolute;
    right: 20px;
    top:15px;
    min-height: 20px;
    height: 25px;
    margin: 0;
}
ul.pics-box{
    position: relative;
    width: 100%;
    padding: 0;
    padding-top:10px;
}
ul.pics-box li{
    position: relative;
    float: left;
    width: 150px;
    height: 145px;
    text-align: center;
    border:1px solid #ccc;
    margin: 10px;
    padding: 0;
    -webkit-transition: color,box-shadow 0.1s ease-in-out;
    -o-transition: color,box-shadow 0.1s ease-in-out;
    transition: color,box-shadow 0.1s ease-in-out;
}
/** 轮播图不显示统计数据 **/
ul.pics-box li.carousels-li{
    height: 102px;
}

ul.pics-box li:hover{
    box-shadow: 0 0 2px #bdbdbd;
}
ul.pics-box li.active{
    border:2px solid #ff962d;
}
ul.pics-box li.active:hover{
    box-shadow: 0 0 2px #fffdc0;
}
ul.pics-box li>*{
    margin: 0;
}
ul.pics-box li>img.img-thumbnail{
    position: relative;
    border:0;
    height: 100px;
    padding: 0;
    border-radius: 0;
}
ul.pics-box li>div.row-fluid{
    position: relative;
    height: -moz-calc(100% - 100px);
    height: -webkit-calc(100% - 100px);
    height: calc(100% - 100px);
    color:#9a9a9a;
}
ul.pics-box li>div.row-fluid>div.col-md-4{
    position: relative;
    height: 100%;
    padding: 0;
}
ul.pics-box li>div.row-fluid>div.col-md-4>div{
    position: relative;
    height: 50%;
    margin: 0;
    text-align: center;
    padding-top:4px;
    font-size: 12px;
    cursor: default;
}
.info-box>div{
    float: left;
}
/***------------------------------***/
.vid-list-box{
    position: relative;
}

ul.vid-list-box li{
    float: left;
    position: relative;
    width: 180px;
    height: 120px;
    margin: 10px;
    border:1px solid #ccc;
}

ul.vid-list-box li div.caption{
    position: absolute;
    width: 94%;
    overflow:hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    left:3%;
    bottom: 5px;
    color:white;
    background-color: rgba(0, 0, 0, 0.62);
}
ul.vid-list-box li.active{
    border:2px solid #ff962d;
}
ul.vid-list-box img{
    border:0;
    margin: 0;
    padding: 5px;
    padding-bottom: 5px;
}
div.pic-pool span.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 30px;
}

ul>li.container-fluid-car{
    height: 104px;
}


.adimage-create-time{
    text-align: center;
}
.dropdown .caret{
    position: absolute;
    right: 8px;
    top:48%;
}

div.dropdown input[type="text"]{
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 35px;
    min-height: 0;
    border-radius: 0;
    border-right: 0;
    margin: 0;
    background-color: white;
    font-size: 12px;
    border: 1px solid #a9a9a9;
}



ul.user-body>li>div.tab-content .tab-pane{
    position: relative;
    height: auto;
    border:0;
    display: none;
}
ul.user-body>li div.tab-content .active{
    position: relative;
    display: block;
}
ul#img,ul#carousel,div#video{
    position: relative;
    width: 82%;
    height: auto;
}
ul#img>li,div#video>ul>li{
    position: relative;
    /*float: left;*/
    display: inline-block;
    min-height: 0;
    width: calc((100% - 40px)/5);
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 0;
    padding: 0;
}
ul#img>li.alert{
    position: relative;
    display: block;
    float: left;
    min-height: 0;
    min-width: 0;
    width: calc((100% - 40px)/5);
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 0;
}
ul#img>li:nth-child(5n),ul#carousel ul>li:nth-child(5n){
    margin-right: 0;
}

/*ul>li.alert>div{*/
/*position: absolute;*/
/*width: 100%;*/
/*height: 100%;*/
/*top:0;*/
/*}*/
/**
 * 图片增加减少按钮工具区域
 */
ul>li.alert>div>.btn-tools{
    height:100%;
    width: 100%;
    position: absolute;
    border-right: 0;
    bottom: 0;
    top:calc(100% - 34px);
    opacity:0;
}
ul>li.alert>div>.btn-tools:hover{
    opacity:1;
}

li.alert>div>.btn-tools>button.btn{
    float: left;
    width: 50%;
    height:34px;
    background-color: rgba(59, 59, 59, 0.55);
    color:white;
}

ul>li.alert img{
    border-radius: 0
}
/**
** 图片数量
**/
div .badge{
    position: absolute;
    top:5px;
    left: -1px;
    background-color: rgba(59, 59, 59, 0.61);
}
li>span.badge{
    position: relative;
}

/**
**删除按钮
**/
li.alert>div>button.close{
    position: absolute;
    top:0;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    background-color: rgba(59, 59, 59, 0.7);
    overflow: hidden;
}
li.alert>div>button.close>span{
    position: absolute;
    top:0;
    left:0;
    font-size: 22px;
    display: inline-block;
    width: 100%;
    height: 100%;
    margin-left: 0;
    color:white;
    margin-top:-3px
}


/**
** tip提醒
**/
li.alert>div>span.tip{
    position: absolute;
    bottom: 5px;
    right: calc((250% - 70px)/5);
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    background-color: rgba(59, 59, 59, 0.7);
    overflow: hidden;
    text-align: center;
    color: #fff;
    border-radius: 10px;
}
/**
** 图片的一行
**/
ul#carousel>li.alert{
    position: relative;
    border-radius: 0;
    padding: 0;
    height: auto;
    background-color: #f7f7f7;
    margin-top:10px;
    padding:10px;
}

ul#carousel>li:first-child{
    margin-top:0px;
}

ul#carousel>li.alert>button.close{
    z-index: 400;
}
ul#carousel>li.alert>button.close>span{
    position: absolute;
    color:black;
    font-size: 20px;
    right: 0;
    top:0;
}

#carousel>li.alert>ul{
    position: relative;
    width: 100%;
    padding: 0;
    /*height: 162px;*/
}
#carousel>li.alert>ul>li{
    position: relative;
    display: inline-block;
    padding: 0;
    min-height: 0;
    min-width: 0;
    width: -moz-calc((100% - 70px)/5);
    width: -webkit-calc((100% - 70px)/5);
    width: calc((100% - 70px)/5);
    margin-left: 10px;
    padding: 0;
    /*overflow: hidden;*/
}
/*#carousel>li.alert>ul>li>div{*/
/*position: absolute;*/
/*width: 100%;*/
/*height: 100%;*/
/*top:0;*/
/*}*/
/*#carousel>li.alert>ul>li>div>*{*/
/*position: absolute;*/

/*}*/
#carousel>li.tab-pane-add{
    position: relative;
    min-height: 50px;
    height: 50px;
    margin-top:10px;
}

li.alert>button.close{
    width: 20px;
    height: 20px;
    right: 0;
    top:0;
}
li.alert>button.close>span{
    font-size: 20px;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0;
}

#video div#choosed-video-layer{
    position: relative;
    min-height: 100px;
    height: auto;
    width: 82%;
    margin-bottom: 20px;
    padding-top:20px;
}
i.glyphicon-play-circle{
    position: absolute;
    color:#e8e8e8;
    font-weight: bolder;
    font-size: 36px;
    left:17%;
    top:30%;
    cursor:pointer;
}
.shipinCircle {
    position: relative;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: 0 0;
    top: -120px;
    left: 40%;
    width: 68px;
    height: 68px;
}
div#choosed-video-layer>div.alert{
    position: relative;
    width: 150px;
    height: 100px;
    padding: 0;
    border-radius: 0;
    border:1px solid #ccc;
}
div#choosed-video-layer i.glyphicon-remove{
    position: absolute;
    display: inline-block;
    height: 20px;
    width: 20px;
    z-index: 100;
    right: 0;
    top:0;
    font-size: 16px;
    line-height: 20px;text-align: center;
    color:#ccc;

}
div#choosed-video-layer i.glyphicon-remove:hover{
    color:#7b7b7b;
}

#editAdImageDiv
{
    width: 100%;
    position: relative;
}
#editAdImageDiv li
{
    width: 107px;
    height: 130px;
    float: left;
    margin-top:5px;
    margin-left:8px;
    list-style: none;
}
.editAdImageDivHover
{
    border-color: #9a9fa4;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.85);
}
#editAdImageDiv .active
{
    border: 1px dashed red;
}
#editAdImageDiv .editAd-image-div img {width:107px;height:90px;border-radius:6px;}

/**广告预览 轮播图*/
#preview-page .bannerbox { width: 300px; height: 167px; overflow: hidden; margin: 0px auto; }
#focus { width: 300px; height: 167px; clear: both; overflow: hidden; position: relative; float: left; }
#focus ul { width: 300px; height: 167px; float: left; position: absolute; clear: both; padding: 0px; margin: 0px; }
#focus ul li { float: left; width: 300px; height: 167px; overflow: hidden; position: relative; padding: 0px; margin: 0px; }
#focus .preNext { width: 150px; height: 167px; position: absolute; top: 0px; cursor: pointer; }
#focus .pre { left: 0; }
#focus .next { right: 0; }